package com.ruoyi.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 流水详情VO
 */
@Data
//@ApiModel("流水详情")
public class FlowDetailVO {
    
//    @ApiModelProperty("流水ID")
    private Long flowId;
    
//    @ApiModelProperty("流水号")
    private String flowNo;
    
//    @ApiModelProperty("商家ID")
    private Long merchantId;
    
//    @ApiModelProperty("流水类型")
    private Integer flowType;
    
//    @ApiModelProperty("流水类型名称")
    private String flowTypeName;
    
//    @ApiModelProperty("业务类型")
    private Integer businessType;
    
//    @ApiModelProperty("业务类型名称")
    private String businessTypeName;
    
//    @ApiModelProperty("关联订单ID")
    private Long relatedOrderId;
    
//    @ApiModelProperty("金额")
    private BigDecimal amount;
    
//    @ApiModelProperty("变动前余额")
    private BigDecimal balanceBefore;
    
//    @ApiModelProperty("变动后余额")
    private BigDecimal balanceAfter;
    
//    @ApiModelProperty("平台佣金")
    private BigDecimal commissionAmount;
    
//    @ApiModelProperty("实际到账金额")
    private BigDecimal actualAmount;
    
//    @ApiModelProperty("支付方式")
    private Integer paymentMethod;
    
//    @ApiModelProperty("支付方式名称")
    private String paymentMethodName;
    
//    @ApiModelProperty("第三方交易流水号")
    private String transactionId;
    
//    @ApiModelProperty("备注")
    private String remark;
    
//    @ApiModelProperty("操作人类型")
    private Integer operatorType;
    
//    @ApiModelProperty("操作人姓名")
    private String operatorName;
    
//    @ApiModelProperty("结算日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date settlementDate;
    
//    @ApiModelProperty("提现状态")
    private Integer withdrawalStatus;
    
//    @ApiModelProperty("提现状态名称")
    private String withdrawalStatusName;
    
//    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;
}
